num=int(input("请输入一个数字："))
for n in range (num):
    print(' '*(num-1-n)+'*'*(2*n+1))
